Enable link trap on the port.
default snmp trap link-status
default snmp trap link-status port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
no snmp trap link-status
no snmp trap link-status port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
snmp trap link-status
snmp trap link-status enable
snmp trap link-status port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
snmp trap link-status port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} enable
Identifies the slot and port in one of the following formats:
a single slot and port (slot/port)
a range of slots and ports (slot/port-slot/port)
a series of slots and ports (slot/port,slot/port,slot/port)
all ports on the same slot (slot/all)
all ports on the switch (all)
The default is enabled.
GigabitEthernet Interface Configuration